package com.axend.aerosense.common.connect.tcp;

import com.axend.aerosense.base.utils.ByteUtils;

/**
 * 雷达安装高度
 */
public enum  HeightType {
    HEIGHT_1_4("00000000", 0),
    HEIGHT_2_2("00000001", 1);

    private byte[] bytes;
    private int type;

    HeightType(String hexString, int type) {
        this.bytes = ByteUtils.hexStringToBytes(hexString);
        this.type = type;
    }

    public byte[] getBytes() {
        return bytes;
    }

    public int getType() {
        return type;
    }
}
